﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FortuneHeavenCommon.DataMap
{
    public partial class Role
    {
        public const string TABLE_NAME = "Role";
        public const string INSERT_SQL = "insert into Role([ID],[Name],[Description],[Auth],[Time]) values (@ID,@Name,@Description,@Auth,@Time)";
        public const string UPDATE_SQL = "UPDATE Role SET [ID]=@ID,[Name]=@Name,[Description]=@Description,[Auth]=@Auth,[Time]=@Time where ID = @ID";

        /// <summary>
        ///
        /// </summary>
        public int ID
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string Name
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string Description
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string Auth
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public DateTime Time
        {
            get;
            set;
        }
    }

}
